using System.Security.Principal;

namespace System.Utility.Security
{
	public class Principal : IPrincipal
	{
		public IIdentity Identity
		{
			get
			{
				return JustDecompileGenerated_get_Identity();
			}
			set
			{
				JustDecompileGenerated_set_Identity(value);
			}
		}

		private IIdentity JustDecompileGenerated_Identity_k__BackingField;

		public IIdentity JustDecompileGenerated_get_Identity()
		{
			return JustDecompileGenerated_Identity_k__BackingField;
		}

		public void JustDecompileGenerated_set_Identity(IIdentity value)
		{
			JustDecompileGenerated_Identity_k__BackingField = value;
		}

		public UserInfo UserInfo
		{
			get;
			set;
		}

		public Principal(IIdentity identity)
		{
			Identity = identity;
		}

		public Principal() : this(new Identity())
		{
		}

		public bool IsInRole(string role)
		{
			throw new NotImplementedException();
		}
	}
}